#pragma once
#include "common.h"
#include "MyLine3D.h"
#include<vector>
#include<utility>
using std::vector;
struct OutLierNode
{
	Voxel vo;
	int select;
	OutLierNode(int _x,int _y,int _z):vo(_x,_y,_z),select(0){}
};
class COutlier
{
public:
	COutlier(void);
	~COutlier(void);
///////////////////////////////////////
	void add(int x,int y,int z)
	{
		OutLierNode node(x,y,z);
		nodeList.push_back(node);
	}
	MyLine3D getRandLine();
	void clear(){nodeList.clear(); }
	const vector<OutLierNode>& getOutLiers(){return nodeList;}
private:
	vector<OutLierNode> nodeList;
};

